package com.x.framework.cqrs.server;

import com.x.framework.cqrs.dto.PurchaseOrderSummaryDto;

import java.util.List;

/**
 *  查询服务：
 */
public interface OrderQueryService {
    List<PurchaseOrderSummaryDto> getSaleSummaryGroupByState();
    PurchaseOrderSummaryDto getSaleSummaryByState(String state);
    double getTotalSale();
}
